package com.mathcat.mobile.android.data.account;

import android.content.Context;

public class AccountManagerFactory {

	private static AccountManager manager;
	
	private static Object lock = new Object();
	
	public static AccountManager getAccountManager(Context context) {
		if (manager == null) {
			synchronized (lock) {
				if (manager == null) {
					manager = new AccountManagerImpl(context);
				}
			}
		}
		
		return manager;
	}
}
